package com.kclm.xsap.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kclm.xsap.entity.ScheduleRecordEntity;

import java.time.LocalDate;
import java.util.List;

public interface ScheduleRecordService extends IService<ScheduleRecordEntity> {

    List<ScheduleRecordEntity> getSameDateSchedule(LocalDate now);


    String getresName(Long scheduleId);

    List<String> selectCards(Long id);

    boolean saveOrNot(ScheduleRecordEntity scheduleRecordEntity);


    boolean isCopy(String sourceDateStr, String targetDateStr, List<ScheduleRecordEntity> scheduleRecordEntityList);


    boolean isEnsureAll(Long id);

    boolean isConsum(Long id, String name);

    boolean isDelete(Integer id);
}
